package open.tech.dawn.rest.module.system.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import open.tech.dawn.jdbc.SuperMapper;
import open.tech.dawn.rest.module.system.model.SysConfig;
import open.tech.dawn.rest.module.system.query.ConfigQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统配置表 Mapper 接口
 * </p>
 *
 * @author joss
 * @since 2020-02-02
 */
public interface SysConfigMapper extends SuperMapper<SysConfig> {


    /**
     * 分页查询
     *
     * @param page
     * @param query
     * @return
     */
    List<SysConfig> queryPage(@Param("page") Page<SysConfig> page, @Param("query") ConfigQuery query);


}
